Skip to content

Conversation

@johnallers
Copy link
Contributor

closes #570

Active Directory expects a 4-byte unsigned integer for flags, but the flags are encoded as a 5-byte signed integer when the DirSyncIncrementalValues flag is enabled. This PR forces the 4-byte encoding.

@cpuschma cpuschma self-assigned this Nov 1, 2025
@cpuschma cpuschma added the bug label Nov 1, 2025
Copy link
Member

@cpuschma cpuschma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting find! Thank you for your PR!

@cpuschma cpuschma merged commit b693143 into go-ldap:master Nov 1, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Active Directory rejects DirSync search request with DirSyncIncrementalValues flag

2 participants